package com.iptv.grape.event.msg;

import com.iptv.grape.event.IWindowPos;

import java.util.ArrayList;
import java.util.List;

// 点播小窗口消息实体类
public class VodWindowDataArgs implements IWindowPos {
    // 事件ID
    private String id;
    // 资产对象
    private Asset data;
    // top值
    private float top;
    // left值
    private float left;
    // 宽度
    private float width;
    // 高度
    private float height;
    // 缩放比例
    private float zoom;
    // 是否鉴权通过
    private boolean isPay;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public Asset getData() {
        return data;
    }

    public void setData(Asset data) {
        this.data = data;
    }

    public float getTop() {
        return top;
    }

    public void setTop(float top) {
        this.top = top;
    }

    public float getLeft() {
        return left;
    }

    public void setLeft(float left) {
        this.left = left;
    }

    public float getWidth() {
        return width;
    }

    public void setWidth(float width) {
        this.width = width;
    }

    public float getHeight() {
        return height;
    }

    public void setHeight(float height) {
        this.height = height;
    }

    public float getZoom() {
        return zoom;
    }

    public void setZoom(float zoom) {
        this.zoom = zoom;
    }

    public boolean isPay() {
        return isPay;
    }

    public void setPay(boolean pay) {
        isPay = pay;
    }

    public int getCurIndex() {
        return curIndex;
    }

    public void setCurIndex(int curIndex) {
        this.curIndex = curIndex;
    }

    public List<EsObj> getSubAssetList() {
        return subAssetList;
    }

    public void setSubAssetList(List<EsObj> subAssetList) {
        this.subAssetList = subAssetList;
    }

    // 当前播放的剧集下标
    private int curIndex;
    // 剧集列表
    private List<EsObj> subAssetList;
}
